﻿<!DOCTYPE html>
{% load static %}
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>大护法短评</title>
    <style>
        #banner img {
            width: 100%;
            height: auto;
        }

    </style>
    <link rel="stylesheet" href="../static_resources/css/bootstrap.min.css">
    <script src="../static_resources/js/jquery.slim.min.js"></script>
    <script src="../static_resources/js/bootstrap.min.js"></script>
</head>
<body>
<nav class="navbar navbar-dark bg-dark" id="head">
    <form class="form-inline" action="/show/" method="post">
        <label>
            <input class="form-control mr-sm-2" name="query" type="search" placeholder="徐锦江">
        </label>
        <button class="btn btn-outline-success my-2 my-sm-0" type="submit">搜索</button>
    </form>
</nav>
<div id='banner'>
    <img src="{% static 'img.jpg' %}">
</div>
<div class="container">
    <h3 class="mt-5 mb-3">电影名称：大护法</h3>
    <table class="table">
        <thead class="thead-light">
        <tr>
            <th scope="col">短评</th>
            <th scope="col" class="text-nowrap">星级</th>
        </tr>
        </thead>
        <tbody>
        {% for i in q_result %}
        <tr>
            <td>{{ i.commons }}</td>
            <td>{{ i.stars }}</td>
        </tr>
        {% endfor %}
        </tbody>

    </table>
</div>
</div>
</body>
</html>